<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <link rel="stylesheet" type="text/css" href="limewire.css" title="style" />

    <script>
      <?php
         $s = isset($_REQUEST['s']);
         echo 'var ANON = ' . ($s ? 'true' : 'false') . ';';
         ?>
      </script>
    <script type="text/javascript" src="lib/prototype.js"></script>
    <script type="text/javascript" src="lib/scriptaculous.js"></script>
    <script type="text/javascript" src="server.js"></script>
    <script type="text/javascript" src="limewire.js"></script>
  </head>
  <body onload="onLoad('<?php echo $_REQUEST['q']; ?>')">

    <?php if (!isset($_REQUEST['noform'])) { ?>
    <p>
      <input type="text" id="q" name="q" />
      <button onclick="query(); return false;">Search</button>
      <button onclick="stopSearch(); return false">Stop Search</button>
      <a href="limewire.php">reload</a>
    </p>
    <?php } ?>

    <div>
      <span id="status"></span><span id="dots"></span>
    </div>

    <div id="searchResults">

    </div>


    <div id="mainJS">
      <!-- the communication is done here -->
    </div>

  </body>
</html>

